include ./define.makefile

.PHONY:all

all:${PROTOCGEN_FILE_PATH}/module_EquipStrengthData_bin

${PROTOCGEN_FILE_PATH}/module_EquipStrengthData_bin:${PROTOCGEN_FILE_PATH}/EquipStrengthData.proto.ds ${RESDB_EXCELMMO_PATH}/EquipStrengthData.xlsx
	mkdir -p ${PROTOCGEN_FILE_PATH}
	rm -rf ${PROTOCGEN_FILE_PATH}/module_EquipStrengthData_bin
	${NFEXCELPROCESS} --work="exceltobin" --patch=${GAME_VERSION_PATCH} --excel_json=${RESDB_EXCEL_JSON} --src=${RESDB_EXCELMMO_PATH}/EquipStrengthData.xlsx  --proto_ds=${PROTOCGEN_FILE_PATH}/EquipStrengthData.proto.ds --dst=${PROTOCGEN_FILE_PATH}/;
	${FILE_COPY_EXE} --work="filecopy_notexist" --src="${PROTOCGEN_FILE_PATH}/EquipStrengthDataDescEx.h ${PROTOCGEN_FILE_PATH}/EquipStrengthDataDescEx.cpp" --dst=${DESC_STORE_EX_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrengthResult.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrengthResult_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/EquipStrengthResultDesc.h ${PROTOCGEN_FILE_PATH}/EquipStrengthResultDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrength.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrength_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/EquipStrengthDesc.h ${PROTOCGEN_FILE_PATH}/EquipStrengthDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrengthTicket.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrengthTicket_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/EquipStrengthTicketDesc.h ${PROTOCGEN_FILE_PATH}/EquipStrengthTicketDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrenthSet.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_EquipStrenthSet_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/EquipStrenthSetDesc.h ${PROTOCGEN_FILE_PATH}/EquipStrenthSetDesc.cpp" --dst=${DESC_STORE_PATH}/
	touch ${PROTOCGEN_FILE_PATH}/module_EquipStrengthData_bin
